home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 13370 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  620 b 

  1. Path: nyssa.swt.edu!LN16674
  2. From: ln16674@nyssa.swt.edu (Leland Newsom)
  3. Newsgroups: comp.lang.c
  4. Subject: reversing a string
  5. Date: 6 Apr 1996 18:19:33 GMT
  6. Organization: Southwest Texas State University
  7. Message-ID: <4k6cjl$j8f@central.server.swt.edu>
  8. Reply-To: ln16674@nyssa.swt.edu
  9. NNTP-Posting-Host: nyssa.swt.edu
  10.  
  11. I have a challenge from a friend of mine.  He wanted me to reverse a string 
  12. with recursion without using any additional variables or loops.  I got mine
  13. to work by using exclusive or, but I needed an additional variable.  Can 
  14. someone help with this problem without using the additional variable?
  15.  
  16. Thanks
  17.